
import { App } from 'vue'
import SvgIcon from './SvgIcon/index.vue'

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const allGlobalComponent:any = { SvgIcon }
//对外暴露对象
export default {
    install(app: App) {
        Object.keys(allGlobalComponent).forEach(key => {
            app.component(key, allGlobalComponent[key])
        })
    }
}